//
//  GMSMapView+UAVPathAndInfoLabel.m
//  SDK开发版本
//
//  Created by 朱国良 on 16/8/27.
//  Copyright © 2016年 北京国泰北斗科技有限公司. All rights reserved.
//

#import "GMSMapView+UAVPathAndInfoLabel.h"
#import <objc/runtime.h>
static char showPath;

@implementation GMSMapView (UAVPathAndInfoLabel)

- (void)setIsShowPath:(NSString *)isShowPath{
    objc_setAssociatedObject(self, &showPath, isShowPath, OBJC_ASSOCIATION_ASSIGN);
}

- (NSString *)isShowPath{
    return objc_getAssociatedObject(self, &showPath);
}

- (void)setInfoLabelBlock:(GMSMapViewExtension)infoLabelBlock{
    objc_setAssociatedObject(self, @selector(infoLabelBlock), infoLabelBlock, OBJC_ASSOCIATION_COPY);
}

- (GMSMapViewExtension)infoLabelBlock{
    return objc_getAssociatedObject(self, @selector(infoLabelBlock));
}


@end
